
package com.lmx.repoDomain.repository;

import javax.annotation.PostConstruct;

import org.springframework.stereotype.Component;

import com.lmx.repoDomain.tmodel.Charge;

import io.katharsis.repository.annotations.JsonApiResourceRepository;
import io.katharsis.repository.annotations.JsonApiSave;

@JsonApiResourceRepository(Charge.class)
@Component
public class ChargeRepository extends BaseRepository<Charge>{

    @PostConstruct
    public void init() {
        dslJpaService.setEntityClass(Charge.class);
    }

    @Override
    @JsonApiSave
    public Charge save(Charge charge) {
        //禁止修改账户信息
        return null;
    }


}
